/** @format */

import React from 'react';
import {BrowserRouter, Route, Switch} from 'react-router-dom';
import Admin from '@/view/admin';

interface IProps {
  [propName: string]: any;
}

class App extends React.Component<IProps> {
  constructor(props: IProps) {
    super(props);
  }

  render(): JSX.Element {
    return (
      <BrowserRouter>
        <Switch>
          <Route path="/" component={Admin} />
        </Switch>
      </BrowserRouter>
    );
  }
}

export default App;
